<!-- 幻灯片 -->
<div id="myCarousel" class="carousel slide carousel-item" data-ride="carousel">

    {notempty name="$carousel"}
    <!-- 轮播（Carousel）指标 -->
    <ol class="carousel-indicators">
        {foreach name="carousel" item="vo"}
        <li title="{$vo.model??''}" data-target="#myCarousel" data-slide-to="{$key}" class="{eq name='key' value='0' } active{/eq}"></li>
        {/foreach}
    </ol>

    <!-- 轮播（Carousel）项目 -->
    <div class="carousel-inner">
        {foreach name="carousel" item="vo"}
        <div title="{$vo.model??''}" class="item{eq name='key' value='0' } active{/eq}">
            <a title="" href="{$vo.url}" target='_self'>
                <img src="__PUBLIC__/uploads/image/{$vo.image}" style="width:100%; position:relative;" class="simg" alt=""/>
            </a>
        </div>
        {/foreach}
    </div>

    <!-- 轮播（Carousel）导航 -->
    <a class="carousel-control left" href="#myCarousel" data-slide="prev">&lsaquo;</a>
    <a class="carousel-control right" href="#myCarousel" data-slide="next">&rsaquo;</a>
    {/notempty}

</div>
<!-- #幻灯片 -->